home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7089 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.IT.net!news
  2. From: gutest04@pn.itnet.it (Simone Tellini)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Refreshing MX gadgets
  5. Date: 9 Apr 1996 10:27:50 GMT
  6. Organization: ITnet
  7. Message-ID: <791.6673T736T186@pn.itnet.it>
  8. References: <3169a262@beachyhd.demon.co.uk>
  9. NNTP-Posting-Host: gutest04.pn.itnet.it
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12. On 08-Apr-96 17:33:54, Adam said about Refreshing MX gadgets:
  13.  
  14. > once it has been created, so instead I'm removing the entire gadget list for
  15.                             ^^^^^^
  16. Why don't you use TWO separate lists? You could do:
  17.  
  18.   g = CreateContext( &list1 );
  19.   g2 = CreateContext( &list2 );
  20.  
  21. In 'list2' you can put just the MX gadget that you want to change.
  22. Then, when you need to update it, you simply RemoveGList() it,
  23. remake it and then AddGList() it...
  24.  
  25. > it to redraw the changed MX gadget. The imagery stays exactly as it was. If 
  26.  
  27. You need to EraseRect() the area where it stays.
  28.  
  29. > gadget, that being my MX gadget -- I assume this doesn't work because GadToo
  30. > gadgets consist of a number of intuition gadgets?).
  31.  
  32. Yes.
  33.  
  34. Bye
  35.    Wiz
  36.  
  37. --
  38. Fidonet:   2:332/502 (Simone Tellini)
  39. Internet:  Coming soon ;-)
  40.  
  41.  
  42.